Global Index
HTML5 JS API Index > Pointer Lock Tutorials & Specs

Element

This page describes Pointer Lock extensions to the origial Element type.

Operations
void
requestPointerLock()
Requests that the pointer be locked to a DOM element target. The user agent determines if pointer lock state will be entered and upon lock state change or error must send either a pointerlockchange or pointerlockerror event respectively.
Referenced by
DocumentpointerLockElement